<table>
    <thead>
        <tr>
            <g:sortableColumn property="id" title="${message(code: 'adjust.id.label', default: 'Id')}" />
            <g:sortableColumn property="from" title="${message(code: 'adjust.from.label', default: 'From')}" />
            <g:sortableColumn property="to" title="${message(code: 'adjust.to.label', default: 'To')}" />
            <g:sortableColumn property="date" title="${message(code: 'adjust.date.label', default: 'Date')}" />
            <g:sortableColumn property="hour" title="${message(code: 'adjust.hour.label', default: 'Hour')}" />
            <th nowrap><g:message code="adjust.desc.label" default="Description" /></th>
            <g:sortableColumn property="owner" title="${message(code: 'adjust.owner.label', default: 'Owner')}" />
            <g:sortableColumn property="dateCreated" title="${message(code: 'adjust.dateCreated.label', default: 'Date Created')}" />
            <g:sortableColumn property="lastUpdated" title="${message(code: 'adjust.lastUpdated.label', default: 'Last Updated')}" />

        </tr>
    </thead>
    <tbody>
    <g:each in="${adjustInstanceList}" status="i" var="adjustInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${adjustInstance.id}">${fieldValue(bean: adjustInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: adjustInstance, field: "from")}</td>
            <td>${fieldValue(bean: adjustInstance, field: "to")}</td>
            <td><g:formatDate date="${adjustInstance.date}" /></td>
            <td>${fieldValue(bean: adjustInstance, field: "hour")}</td>
            <td>${fieldValue(bean: adjustInstance, field: "desc")}</td>
            <td>${fieldValue(bean: adjustInstance, field: "owner.username")}</td>
            <td>${fieldValue(bean: adjustInstance, field: "createdBy.username")}, <g:formatDate date="${adjustInstance.dateCreated}" /></td>
            <td>${fieldValue(bean: adjustInstance, field: "lastModifiedBy.username")}, <g:formatDate date="${adjustInstance.lastUpdated}" /></td>
        </tr>
    </g:each>
    </tbody>
</table>

